package com.core.reach.cloudhub.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: feign的日志打印功能，增加配置类配置日志级别
 * @date 2020/3/25 16:54
 **/
@Configuration
public class FeignConfig {

    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }

}
